package com.ncloud.crm.common;

public class Constant {
	
	/**********************工单信息常量***************************/
	public static char WORK_STATE_INIT = '1'; //1:待施工 2：施工中 3：施工完成 4：失败，5:物流信息
	public static char WORK_STATE_DOING = '2';
	public static char WORK_STATE_DONE = '3';
	public static char WORK_STATE_FAIL = '4';
	public static char WORK_STATE_LOGISTICS = '5';
	/**********************************************************/


	/**************订单系列表动作标识********************/
	public static final String ADD ="1";
	public static final String UPDATE ="2";
	public static final String DEL ="3";
	public static final String NO_CHANGE ="4";
	/**********************************************/
	
	/**********************客户信息***************************/
	public static char CUST_STATE_NORMAL = '1'; //1:有效、0：失效
	public static char CUST_STATE_DELETE = '0';
	/**********************************************************/
	
	/**********************账户信息***************************/
	public static String ACCT_STATE_NORMAL = "1"; //1:在用，0销户
	public static String ACCT_STATE_DELETE = "0";
	/**********************************************************/
	
	/**********************项目信息***************************/
	public static char PROJECT_STATE_NORMAL = '1'; //1:在用，0失效
	public static char PROJECT_STATE_DELETE = '0';
	/**********************************************************/
	

	/**********************订单信息常量***************************/
	public static String ORDER_STATE_INIT = "1"; //1:待施工 2：施工中 3：施工完成 4：失败
	public static String ORDER_STATE_DOING = "2";
	public static String ORDER_STATE_DONE = "3";
	public static String ORDER_STATE_FAIL = "4";
	/**********************************************************/

	/*结束时间先定义一个常量*/
	public static String END_DATE="2050-12-31";

	/*属性类型*/
	public static String ATTR_TYPE_NODE="0";
	/*订单属性信息*/
	public static String ATTR_TYPE_PROD="0";
	public static String ATTR_TYPE_DISCNT="1";
	public static String ATTR_TYPE_ORDER="2";
	public static String ATTR_TYPE_WORK="3";
	public static String ATTR_TYPE_CUST="4";

	/**********************合同信息常量***************************/
	public static String CONTRACT_STATE_NORMAL = "1"; //1-生效，0-失效
	public static String CONTRACT_STATE_DELETE = "0";
	/**********************合同信息常量***************************/


	/**********************节点信息的类型常量***************************/
	public static String NODE_TYPE_0 = "0";//公有云类型
	public static String NODE_TYPE_1 = "1";//客户接入侧
	/*二级*/
	public static String NODE_TYPE_CPE_1 = "1";
	public static String NODE_TYPE_VCPE_1 = "2";
	public static String NODE_TYPE_CLOUD_VPC_0 = "0";
	/**********************节点信息的类型常量***************************/

	/**********************云类型常量配置********************************/
	public static final String CLOUD_TYPE_JD="1";
	/**********************云类型常量配置********************************/
	
	public static final String USER_TYPE_CUST = "3"; //用户账号类型
	public static final int CUST_PASSWD_LENGTH = 8; //默认密码长度

	/*---------------邮件模板设置-------------*/
	public static final String MAIL_POST_TEMP = "nodePostInfo.ftl"; //custCreateUser.ftl
	public static final String MAIL_CREATE_USER_TEMP = "custCreateUser.ftl";

	/*消息类型定义*/
	public static final String MSG_POST_TYPE = "msg_box_postinfo";

	/*消息类型定义*/
	public static final String MSG_STATE_UNREAD = "0";
	public static final String MSG_STATE_READ = "1";

}
